home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12622 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: galaxy.ucr.edu!not-for-mail
  2. From: thp@cs.ucr.edu (Tom Payne)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Will JAVA kill C++?
  5. Date: 20 Mar 1996 21:57:35 GMT
  6. Organization: University of California, Riverside
  7. Message-ID: <4ipv0f$qvd@galaxy.ucr.edu>
  8. References: <313E44EA.14D110C0@netcom.com> <4hp18v$3di@frodo.smartlink.net> <4hq2j6$q93@galaxy.ucr.edu> <4ie2m7$5re@hn.ocbbs.gen.nz>
  9. NNTP-Posting-Host: corvette.ucr.edu
  10. X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
  11.  
  12. Steve Detoni (steve@hn.ocbbs.gen.nz) wrote:
  13. : Tom Payne wrote:
  14. : : When one is interested in speed, one should avoid pointers (as
  15. : : does. Fortran), since pointers kill opportunities for optimization.
  16. : How can you say that .... Would you rather pass a large structures entire 
  17. : contents, or say just a 4 byte address pointer, now which would be faster?
  18. : Or would you be so un-modula as to have such things as global variables.
  19. [...]
  20.  
  21. Pointerless languages typically pass parameters by reference, or at least
  22. make provision for it.
  23.  
  24. Tom Payne (thp@cs.ucr.edu)
  25.